Release 10.1A: OpenEdge Development:
ADM Reference


widgetIsBlank

Returns TRUE if the widget is blank, otherwise FALSE. If the namelist contains more than one object, then the function returns TRUE if all of them are blank, otherwise FALSE.

Location: visual.p

Parameters:

INPUT namelist AS CHARACTER

The name of one or more objects, separated by commas.

Returns: LOGICAL

Notes: None

Examples:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

IF widgetIsBlank("terms":U) THEN disableWidget("discount":U). 

The following illustrates the use of this method in DHTML code for use with a Web browser:

if (logic.widgetIsBlank(‘orderviewv.terms’)) 
  logic.disableWidget(‘customerviewv.discount’); 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095